home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3rmpwav.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  972 b   |  44 lines

  1.  
  2. // JavaScript wrapper for r3rmpwav.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_RENDERMATPROPWAVE_H = 1;
  7. include("real/raytr/r3rmprop.js")
  8.  
  9.  
  10. var R3CLID_RMPWAVE = 473;
  11.  
  12.  
  13.  
  14.  
  15. R3RMPWAVEA_Amplitude = 473500;
  16. function SetR3RMPWAVEA_Amplitude(value) {
  17.   R3Set(this.r3obj, R3RMPWAVEA_Amplitude, value, R3TID_FLOAT, 0); 
  18. }
  19.  
  20. R3RMPWAVEA_Base = 473501;
  21. function SetR3RMPWAVEA_Base(value) {
  22.   R3Set(this.r3obj, R3RMPWAVEA_Base, value, R3TID_FLOAT, 0); 
  23. }
  24.  
  25. R3RMPWAVEA_1D = 473502;
  26. function SetR3RMPWAVEA_1D(value) {
  27.   R3Set(this.r3obj, R3RMPWAVEA_1D, value, R3TID_BOOLEAN, 0); 
  28. }
  29.  
  30.  
  31.  
  32. function r3Rmpwave () { 
  33.    this.base = r3God;
  34.    if(arguments.length) {
  35.       this.base(R3CLID_RMPWAVE, arguments);
  36.    }
  37.    // Attributes
  38.    this.SetAmplitude=SetR3RMPWAVEA_Amplitude;
  39.    this.SetBase=SetR3RMPWAVEA_Base;
  40.    this.Set1D=SetR3RMPWAVEA_1D;
  41. }
  42.  
  43. r3Rmpwave.prototype=new r3Rmatprop;
  44. // r3rmpwav.h_H